package com.haiyou.data.sdk.account.log;

import com.haiyou.common.jdbc.DbType;
import com.haiyou.data.common.persister.mysql.annotation.Comment;
import com.haiyou.data.common.persister.mysql.annotation.Database;
import com.haiyou.data.common.persister.mysql.annotation.Id;
import com.haiyou.data.common.persister.mysql.annotation.Table;
import com.haiyou.data.common.persister.mysql.annotation.Table.RollPolicy;
import com.haiyou.data.common.persister.mysql.persister.delay.DelayEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 
 * 注册日志
 * @author xingyuan
 * @date 2023年12月12日 上午11:23:23
 */
@ToString
@Setter
@Getter
@Database(alias = DbType.LOG_DB)
@Table(name = "t_log_register", rollPolicy = RollPolicy.EVERY_DAY, comment = @Comment("注册日志"),sqlBatchNum = 400,columnDropable = true)
public class RegisterLog extends DelayEntity<Long> {

    @Id(autoIncr = true)
    private Long id;

    @Comment("玩家id")
    private long playerId;
    @Comment("玩家id")
    private int serverId;
}
